package com.hyzh.latte.vehicle.socket;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

/**
 * @author: songkui
 * @since: 2024/3/15 01:11
 */
@Getter
@Setter
@Validated
@Component
@Configuration
public class SocketConfigProperties {
        @Value("${mocha.ws.port}")
        private Integer port;
        @Value("${mocha.ws.host}")
        private String host;

        @Value("${server.port}")
        private Integer serverPort;

}
